package com.book.bean;

import java.io.Serializable;

public class Book implements Serializable {

	public String getBook_id() {
		return book_id;
	}

	public void setBook_id(String book_id) {
		this.book_id = book_id;
	}
	
	public String getType_id() {
		return type_id;
	}

	public void setType_id(String type_id) {
		this.type_id = type_id;
	}

	public String getType_name() {
		return type_name;
	}

	public void setType_name(String type_name) {
		this.type_name = type_name;
	}

	public String getBook_name() {
		return book_name;
	}

	public void setBook_name(String book_name) {
		this.book_name = book_name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public double getBook_price() {
		return book_price;
	}

	public void setBook_price(double book_price) {
		this.book_price = book_price;
	}

	public int getBook_amount() {
		return book_amount;
	}

	public void setBook_amount(int book_amount) {
		this.book_amount = book_amount;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public String toString() {
		StringBuffer buffer = new StringBuffer("");
		buffer.append("book_id: ").append(book_id);
		buffer.append(", type_id: ").append(type_id);
		buffer.append(", type_name: ").append(type_name);
		buffer.append(", book_name: ").append(book_name);
		buffer.append(", author: ").append(author);
		buffer.append(", publisher: ").append(publisher);
		buffer.append(", book_price: ").append(book_name);
		buffer.append(", book_amount: ").append(book_amount);
		buffer.append(", description: ").append(description);
		return buffer.toString();
	}
	
	private static final long serialVersionUID = -2091920240045615164L;

	private String book_id;
	private String type_id;
	private String type_name;
	private String book_name;
	private String author;
	private String publisher;
	private double book_price;
	private int book_amount;
	private String description;
}
